package cn.hunter.service.impl;


import cn.hunter.dataobject.SellerInfo;
import cn.hunter.repository.SellerInfoRepository;
import cn.hunter.service.SellerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 功能描述: 卖家端用户service实现
 * <p>
 * 作者: luohongquan
 * 日期: 2018/5/8 0008 11:27
 */
@Service
public class SellerServiceImpl implements SellerService {

    @Autowired
    private SellerInfoRepository repository;

    @Override
    public SellerInfo findSellerInfoByOpenid(String openid) {
        return repository.findByOpenid(openid);
    }
}
